package lovedna.core;
import haxe.io.BytesInput;
import haxe.io.BytesOutput;

/**
 * ...
 * @author liwei
 */

interface IMessage 
{
	function encode():BytesOutput;
	function decode(input:BytesInput):Bool;
}